package com.quxian.chambercommerce.dao;

import java.util.List;
import java.util.Map;

import com.quxian.chambercommerce.bean.TypeGroupEntity;
import com.quxian.chambercommerce.bean.TypeItemEntity;

public interface TypeManageDao {
	
	public List<TypeGroupEntity> getAllType();
	
	public void deleteGroupById(Integer id);
	
	public List<TypeItemEntity> selectItemByGroup(Integer groupId);
	
	public void insterItem(TypeItemEntity entity);
	
	public void deleteItemByGroup(Integer groupId);
	
	public void deleteItemById(Integer id);
	
	public void updateTypeItem(Map<String,Object> map);
}
